import ajax from '../utils/request'
import '../mock/yxd' 

export function datalist(){
    return ajax({
        url:'/datalist',
    })
}

//增加数据
export function addItem(data){
    return ajax({
        url:'/addItem',
        method: 'post',
        data
    })
}